package me.xue.communityhealth.service;

import com.github.pagehelper.Page;

import java.util.List;

public interface BaseService<T, V> {

    int save(T t);

    int update(T t);

    int delete(V which);

    List<T> findAll();

    default Page<T> pagedAll() {
        return null;
    }

}
